package com.woniu.mall.service;

import com.woniu.mall.pojo.MallSeckill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.user.vo.UserLoginVO;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 秒杀活动表 服务类
 * </p>
 *
 * @author Klaus
 * @since 2023-05-27
 */
public interface IMallSeckillService extends IService<MallSeckill> {

    void seckill(Integer productId, UserLoginVO userLoginVO);

    List<MallSeckill> listStarting();

    void addStartingCoupon(String zoneCouponType, BigDecimal amount, BigDecimal price, Integer quantity, Date startTime, Date endTime);
}
